package cn.lingyangwl.agile.system.service;

import cn.lingyangwl.agile.system.model.entity.SysPosition;
import cn.lingyangwl.agile.system.model.rqrs.position.*;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author shenguangyang
 */
public interface SysPositionService {
    List<SysPosition> listAll();

    IPage<SysPosition> pagePosition(PositionQueryReq req);

    SysPosition getById(Long id);

    void save(SysPosition sysPosition);

    void updateById(SysPosition sysPosition);

    void deleteById(Long id);
}
